.ui-loading {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1989101007;
    background-color: rgba(255,255,255,0.2);


}

.ui-ball-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ui-ball-loader > span {
    background-color: #5FB878;
    display: inline-block;
}

.ui-ball-loader > span {
    width: 20px;
    height: 20px;
    margin: 0 3px;
    border-radius: 50%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation: 1s ball-load ease-in-out infinite;
    animation: ball-load 1s ease-in-out infinite;
}

.ui-ball-loader > span:nth-child(2), .ui-ball-loader.sm > span:nth-child(2) {
    -webkit-animation-delay: .1s;
    animation-delay: .1s;
}

.ui-ball-loader > span:nth-child(3), .ui-ball-loader.sm > span:nth-child(3) {
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}

.ui-ball-loader > span:nth-child(4), .ui-ball-loader.sm > span:nth-child(4) {
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
}

@keyframes ball-load {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }

}